Skip to content

Fix: Add download check for blip_model.py utility script (Notebook: blip-visual-language-processing.ipynb)#3413

Open
Shekar-77 wants to merge 2 commits intoopenvinotoolkit:latestfrom
Shekar-77:latest
Open

Fix: Add download check for blip_model.py utility script (Notebook: blip-visual-language-processing.ipynb)#3413
Shekar-77 wants to merge 2 commits intoopenvinotoolkit:latestfrom
Shekar-77:latest

Conversation

@Shekar-77
Copy link
Copy Markdown

Description:
This PR addresses the ModuleNotFoundError: No module named 'blip_model' error that occurs when the blip_model.py utility script is missing from the local working directory.
Notebook:https://github.com/openvinotoolkit/openvino_notebooks/blob/latest/notebooks/blip-visual-language-processing/blip-visual-language-processing.ipynb

Changes:
Just pushed

if not Path("./blip_model.py").exists():
    download_file(url="https://raw.githubusercontent.com/openvinotoolkit/openvino_notebooks/latest/notebooks/blip-visual-language-processing/blip_model.py")

above the cell that requires blip_model.py file.

Resolves issue: #3412

@review-notebook-app
Copy link
Copy Markdown

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant